home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 4 / QRZ Ham Radio Callsign Database - Volume 4.iso / files / amiga / cbbs720j.lzh / cbbs / tnc.on < prev    next >
Encoding:
Text File  |  1993-04-21  |  4.1 KB  |  110 lines

  1. # For the purposes of the distribution I have modified this file to probably
  2. # work on a generic TNC2. I had it set up for a KAM and have commented out
  3. # KAM-specific commands.
  4. # If this one doesn't work for you, try the tnc.on.tiny2 and tnc.off.tiny2
  5. #
  6. # On the KAM, it can handle HF and VHF together
  7. # so that is why there are commands like TXD 30/70 ... it means set the HF
  8. # side TXD to 30 and the VHF side to 70 etc.
  9. #
  10. # As you can see, any line beginning with # is a comment and is totally
  11. # ignored by the program.
  12. #
  13. # Any line beginning with ! is considered to be a CLI command and is
  14. # executed as such. There must be no space between the ! and the first
  15. # character of the CLI command.
  16. # You will probably find it more efficient to put
  17. # one 'execute' of a command file in here and then all the CLI commands
  18. # in the named file. This is because each ! command here requires a new
  19. # CLI to start up, whereas only one is started for an execute command and
  20. # all its contained commands.
  21. #
  22. # Lines which begin with neither # or ! are assumed to be TNC commands
  23. # and are sent to the TNC. TNC commands, # and ! can be interspersed
  24. # as you see fit.
  25. #
  26. # The original IBM version of CBBS uses a separate program to initialize the
  27. # TNC port parameters. You don't need that program here. Everything needed
  28. # to init the port can be specified in this file EXCEPT that if the baudrate
  29. # between TNC-computer is not 9600 then you must specify the baudrate as
  30. # an argument when the program is started. (See the readme file).
  31. # The commands in this file are always sent to the TNC when the mailbox
  32. # program is started up.
  33. # The program forces
  34. # mon off
  35. # conok off
  36. # echo off
  37. # as it starts up but it is perhaps wise to include them here just in case.
  38. # The reason for this is that if you also have a modem and have that
  39. # connected to the serial port when the bbs starts up, the 'mon off' etc.
  40. # may get lost in the modem and when you switch over to the TNC it won't
  41. # have seen those commands. The most important one, as far as getting the
  42. # BBS to start is concerned is 'echo off' because if the TNC has "echo on",
  43. # it will echo all commands back to the BBS and the poor BBS will get totally
  44. # confused. The obvious symptom of this is that the BBS goes into a loop
  45. # sending a 'C' command to the TNC.
  46. #
  47. # Autolf off should  be here but is not essential as it only
  48. # affects the spacing of output during monitoring.
  49. #
  50. # The following execute command has been commented out of here but the
  51. # cmds.cli exists. In order to use it, you must edit the config.mb file
  52. # and find the lines containing the names files/help.mb and files/info.mb
  53. # Modify those two lines so that they say ram:files/help.mb and
  54. # ram:files/info.mb. Then remove the comment # from the beginning of the
  55. # line in this text with the execute command on it. What it does is create
  56. # a ram: directory to contain the help and info files which speeds up some
  57. # user operations when they log in by removing the need for disk I/O when
  58. # they ask for help or info about your system.
  59. #!execute cmds.cli
  60. #
  61. # A more complex example is given by the files cli.on and cli.off. You can
  62. # use those instead (put "!execute cli.on" in this file and
  63. # "!execute cli.off" in tnc.off and modify config.mb accordingly).
  64. # The cli.on file copies more of the BBS
  65. # files into ram: and reduces disk accesses even further but at the cost
  66. # of using up more ram:. If you run a large BBS you will probably find that
  67. # mail.dat will be too large to fit into ram:
  68. # The "cli.off" file copies some of the files (such as mail.dat) back to
  69. # disk. It doesn't need to copy help.mb or info.mb because they don't
  70. # change.
  71. mon off
  72. conok off
  73. echo off
  74. # The old KAM "bbsmsgs on" command has been replaced by a new one in the
  75. # V3.01 KAM.
  76. # NOTE that you need the reset after the command or it won't take effect.
  77. #intface bbs
  78. #reset
  79. #
  80. #
  81. # Set the KAM to one HF and one VHF login.
  82. #user 1/1
  83. #
  84. user 1
  85. canline $18
  86. xon $0
  87. xoff $0
  88. xflow off
  89. txflow off
  90. #txd 70/70
  91. #maxframe 4/4
  92. #mcon off/off
  93. #dwait 0/8
  94. #frack 2/4
  95. #beacon every 0/every 120
  96. b every 120
  97. frack 4
  98. dwait 2
  99. mcon off
  100. txd 70
  101. maxframe 4
  102. start 0
  103. stop 0
  104. unproto mail
  105. #gate on
  106. dayt
  107. #|adisco
  108. disco
  109. autolf off
  110.